﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.Entities;
using System.Linq.Expressions;

namespace BusinessLogic.Interfaces
{
    public interface IProfilesRepository
    {
        IEnumerable<Profile> GetProfiles();
        IEnumerable<Profile> GetList(Expression<Func<Profile, bool>> filter);
        Profile GetProfile(User us);
        int GetProfileByPersNoID(string persNo);
        //IEnumerable<Profile> GetProfileByFirstName(string firstName);
        //Profile GetProfileByMiddleName(string middleName);
        //Profile GetProfileByLastName(string lastName);
        //Profile GetProfileByPhone(string phone);
        //Profile GetProfileById(int id);

        void CreateProfile(string firstName, string middleName, string lastName, string persNo, string phone, int departmentId);
        void SaveProfile(Profile prof);

    }
}
